package flown.game.mine;


/**
 * @author flown
 */


public class Game
{
    public enum State
    {
        THINKING,///< 主菜单
        GAMING,///< 游戏中
        PAUSE///< 游戏暂停
    }

    public enum ConstructionBlock
    {
        STONE
    }

    public static GameWindow window;

    public Game()
    {

    }

    /**
     * 游戏数据初始化
     */
    public static void Init()
    {
        int count = 0;
        for(ConstructionBlock b : ConstructionBlock.values())
        {
            new Block(count, b.name(), Block.Group.CONSTRUCTION.GetName());
            count++;
        }

        count = 0;
    }


    /**
     * 运行游戏
     */
    public static void Run()
    {
        window = new GameWindow();
    }


    /**
     * 开始游戏
     */
    public static void Start()
    {
        System.out.println("GameStart!");
    }
}


